package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;
//权限管理Service
public interface PermissionService {
    //权限查询
    PageResult findByPermission(QueryPageBean queryPageBean);
    //添加权限
    void add(Permission permission);
    //根据id查询权限进行回显
    Permission findUpdate(int id);
    //修改权限
    void updateEdit(Permission permission);
    //删除权限
    void delete(int id);
}
